package com.reachol.objects; 

import java.sql.Timestamp; 
import com.jimet.objects.JimetObject; 
import com.reachol.objects.db.*;

public class Deneme extends JimetObject 
{

	private long id; 
	private String name; 
	private String surname; 
	private Timestamp tsUpdate; 
	private int deleted; 

	public Deneme(long id) throws Exception 
 { 
		 this(); 
		 if( id != -1 ) 
			 this.load(id); 
 } 
	public Deneme(boolean noInit){} 

	public Deneme() throws Exception 
	{
		this.id=-1;
		this.name="";
		this.surname="";
		this.tsUpdate = null;
		this.deleted = 0;
		setDb(DenemeDB.class); 
	}


	public void setId(long id) {
		 this.id=id; 
	}
	public long getId() {
		 return id; 
	}
	public void setName(String name) {
		 this.name=name; 
	}
	public String getName() {
		 return name; 
	}
	public void setSurname(String surname) {
		 this.surname=surname; 
	}
	public String getSurname() {
		 return surname; 
	}
	public Timestamp getTsUpdate() {
		 return tsUpdate;
	}
	public void setTsUpdate(Timestamp tsUpdate) {
		 this.tsUpdate = tsUpdate;
	}
	public int getDeleted() {
		 return deleted;
	}
	public void setDeleted(int deleted) {
		 this.deleted = deleted;
	}
}

